Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cross domain tracking #588

Merged
merged 2 commits into from
May 6, 2015
Merged

Add cross domain tracking #588

merged 2 commits into from
May 6, 2015

Conversation

bradwright
Copy link
Contributor

This adds the cross domain tracking functionality from alphagov/govuk_frontend_toolkit#185 to static, making it globally available.

This includes the cross domain tracking functionality.
@@ -111,6 +111,10 @@
this.tracker.trackShare(network);
};

StaticTracker.prototype.addLinkedDomain = function(trackerId, name, domain) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be addLinkedTrackerDomain? (Though I prefer addLinkedDomain)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the fence about that, I thought I'd make the public method shorter. Will update for parity.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated and force pushed.

@fofr
Copy link
Contributor

fofr commented May 6, 2015

One minor comment, otherwise this and alphagov/business-support-finder#87 look good.

@bradwright bradwright force-pushed the add-cross-domain-tracking branch from d0797f0 to be6beae Compare May 6, 2015 10:45
@bradwright
Copy link
Contributor Author

Updated this and alphagov/business-support-finder#87 to match the public API.

fofr added a commit that referenced this pull request May 6, 2015
@fofr fofr merged commit a418699 into master May 6, 2015
@fofr fofr deleted the add-cross-domain-tracking branch May 6, 2015 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants