Hi All,

I'm trying to change siteSpeedSampleRate which needs to be set in the create method.

I can't find any clear documentation of how to add fields to the CUSTOM JAVASCRIPT CODE / Create only fields.

So I have tried all of the variations below but all result in the same exact error:
The Create only fields field contains invalid input.

ga('create', 'UA-XXXX-Y', {'siteSpeedSampleRate': 10});
{'siteSpeedSampleRate': 10}
{'siteSpeedSampleRate': 10};
'siteSpeedSampleRate': 10;
"siteSpeedSampleRate": 10
"siteSpeedSampleRate": 10;

etc...

Does anyone has any pointers on how to get this working?

Thanks

Comments

cotillardq created an issue. See original summary.

cotillardq’s picture

Well once I read the documentation below the field I got it to work

cotillardq’s picture

Status: Active » Closed (works as designed)