Hiding Link on pages

Bronze Contributor
Bronze Contributor

Is it possible to use Tealium to hide a link on a page?  We generally use Optimizely to display a different version where the link or form field is hidden.  But since not running a test, wondering if Tealium has similar function where we could load code on the page that would prevent the link or form field from being displayed to the user.  

2 REPLIES 2

Hiding Link on pages

Gold Contributor
Gold Contributor

Technically to answer your question I would say yes, you can use Tealium to hide a link on the page. But I do not see the point of what you want to acheive by doing this. If you are trying to run an A/B test or something then no can't use Tealium as-is and you still need to use a A/B testing platform. Or else it would be much better remove the link completely from the code base.

 

Nevertheless, this could be done by adding a jQuery or JavaScript extension and writing a bit of code binded to the load event to hide the particular link which you need.

 

Hiding Link on pages

Moderator
Moderator
@valleyval I agree with everything @Yoosuf has said (good answer, Yoosuf!), but in your particular case, you might also find the Content Modification extension useful: https://community.tealiumiq.com/t5/iQ-Tag-Management/Content-Modification-Extension/ta-p/12194. Generally, it is better to use a dedicated tool to change content, or change the code on the page directly, but for minor changes, this extension may help. This article may also be useful: https://community.tealiumiq.com/t5/iQ-Tag-Management/How-To-Using-Split-Segmentation-with-Content-Mo...
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.
Public