Need advice on a couple of scenarios:
1. Whitelist by first part of url:
We have a SiteCatalyst tag running against a locale based subset of our site. We currently do this by using separate Tealium profiles for each locale we want to use with SiteCatalyst tag.
We intend to go site wide with Tealium in our next release, using one main profile.
But we would still like SiteCatalyst to be constrained to a set of locales initially. This locale list can be identified by the first part of the url.
www.oursite.ca -> allow SiteCatalyst
www.oursite.jp -> allow SiteCatalyst
Dont allow any other urls
Later, when we are ready for SiteCatalyst for the whole site, we just want to remove this condition and let the traffic flow for all urls.
What options do I have in Tealium? Would like these changes to be minimal and preferable in one place.
Once we go site wide, for some time we want to limit traffic to SiteCatalyst till we have worked out the licensing limits.
We would like to throttle/limit traffic to a maximum in this period.
Is there some way I can store some state in Tealium say for the number of times we pull down the SiteCatalyst utags?
Caching probably will not allow doing this with Tealium, even if we can somehow store the traffic info in Tealium somehow.
My guess is we need to handle this on our site in the datalayer and have Tealium just read and decide on the value we store there.
Any thoughts or advice?
1. This is very easy to do using a load rule. Simply create a load rule that says "domain(dom) -> contains -> oursite.ca" OR "domain(dom) -> contains -> oursite.jp"
Assign this rule to the SiteCatalyst tag, and it will only fire on these 2 domains.
2. There is no way to know how many times a tag has fired, because the Tealium utag.js is client-side and does not have access to any data, except the data that forms your data layer (cookies, query string, data object, meta tags etc.).
You could, however, use the Tealium split segmentation extension (https://community.tealiumiq.com/posts/554741) to only fire the tag for X% of your visitors. Have a read of that post and let me know if you have any questions.
Check out our new Swift integration library for iOS, macOS, tvOS and watchOS: https://github.com/Tealium/tealium-swift with updated documentation https://community.tealiumiq.com/t5/Swift/tkb-p/swift.