Highlighted

how to disable protocol checking through an extension for Google Analytics?I am setting up tealium profile for a hybrid app and i am facing the issue that the data is not being sent to GA.It seems analytics.js checks for the protocol http & https whereas

Silver Contributor
Silver Contributor
 
4 REPLIES 4
Highlighted

how to disable protocol checking through an extension for Google Analytics?I am setting up tealium profile for a hybrid app and i am facing the issue that the data is not being sent to GA.It seems analytics.js checks for the protocol http & https whereas

Employee Emeritus
Shailesh I "think" I know the answer, but I am not sure how to test the solution. Here is a reference to Google's site where they tell us how to disable file protocol checking: https://developers.google.com/analytics/devguides/collection/analyticsjs/tasks Next we need to set this up in Tealium, first Edit the Tag Configuration. Click Tags Tab, then click on your Google Universal Tag, then click Edit, then turn on "Enable create before extensions" as this will call ga('create', 'UA-XXXXX-Y') before Tealium extensions run. After this is done, you can add a JavaScript Extension. Click Extensions Tab, then Add Extension, then Advanced Tab, then Add next to "Javascript Code" The code you will want to add is in the google article above: ga('set', 'checkProtocolTask', null); // Disable file protocol checking. Make sure you give your extension a useful Title and Scope it to your Google Universal Analytics Tag. Let me know if this works and if you have any questions.
Highlighted

how to disable protocol checking through an extension for Google Analytics?I am setting up tealium profile for a hybrid app and i am facing the issue that the data is not being sent to GA.It seems analytics.js checks for the protocol http & https whereas

Silver Contributor
Silver Contributor
Thanks Brian, I will check and let you know whether it works or not :)
Highlighted

how to disable protocol checking through an extension for Google Analytics?I am setting up tealium profile for a hybrid app and i am facing the issue that the data is not being sent to GA.It seems analytics.js checks for the protocol http & https whereas

Silver Contributor
Silver Contributor
Hi Brian, We tried the solution provided by you. Itâ s disabling the protocol but we are not able to see any activity going to Google Analytics from appâ s network. Will you be able to tell what could be the reason or solution over it? The real problem is i do not see any data flowing to GA except session numbers. I have mapped other custom variables too but don't see anything of that.
Highlighted

how to disable protocol checking through an extension for Google Analytics?I am setting up tealium profile for a hybrid app and i am facing the issue that the data is not being sent to GA.It seems analytics.js checks for the protocol http & https whereas

Employee Emeritus
At this point, I think it is best to work with your Tealium Account Manager and see if you can get a Tealium Engineer to look at your specific issue. Would be interesting to hear the result in this thread when the root cause is figured out.