5

How would you migrate a ga create command that uses the allowLinker and siteSpeedSampleRate parameters to the gtag config command?

ga('create' 'UA-1234567-25', 'auto', {'allowLinker': true,'siteSpeedSampleRate': 100 });

1 Answer 1

6

"linker" will allow you to accept incoming cross domain. "site_speed_sample_rate" will allow you to adjust the site speed sampling rate.

  gtag('config', 'UA-1234567-25', 
    {
      'linker': {'accept_incoming': true},
      'site_speed_sample_rate': 100
    });
1
  • 3
    Is "site_speed_sample_rate" officially documented anywhere? Thanks
    – john
    Commented May 11, 2019 at 14:54

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.