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

Issue with cross-domain tracking #205

Open
sarates opened this issue May 10, 2017 · 0 comments
Open

Issue with cross-domain tracking #205

sarates opened this issue May 10, 2017 · 0 comments

Comments

@sarates
Copy link

sarates commented May 10, 2017

during usage cross-domain linking on some laptops cid is incorrect. For example:

dl: https://[email protected]&_ga=2.13376453669.21418884567.1494434567-1083593468.1486999114

and

cid :10835945668.1484569125

so there is a difference between cid on two pages.

Settings on parent site:

ga('create', 'XXXXXXXXXXX', 'auto', {'allowLinker': true});
ga('require', 'linker');
ga('linker:autoLink', ['YYYY.com'] );
ga('send', 'pageview');

And settings on YYYY.com

AnalyticsProvider.setAccount({
            tracker: 'XXXXXXXXXXX',
            name: "tracker1",
            fields: {
                cookieDomain: 'YYYY.com',
                cookieName: '_ga',
                cookieExpires: 63072000
            },
            crossDomainLinker: true,
            crossLinkDomains: ['perent-site.com'],
            displayFeatures: true,
            enhancedLinkAttribution: true,
            select: function (args) {
                return true;
            },
            set: {
                forceSSL: true
            },
            trackEvent: true,
            trackEcommerce: true
        });

But in 90% all is correct. This issue is reproducing on some laptops when you open parent site in incognito mode. Help pls.

@sarates sarates changed the title cid is incorrect Issue with cross-domain tracking May 10, 2017
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

No branches or pull requests

1 participant