ianhampton / tealium-wordpress-plugin Goto Github PK
View Code? Open in Web Editor NEWAdds the Tealium tag and creates a data layer from post data.
Home Page: https://wordpress.org/plugins/tealium/
Adds the Tealium tag and creates a data layer from post data.
Home Page: https://wordpress.org/plugins/tealium/
Hi,
I implemented AMP pages and, unlike all the other active plugins, the Tealium script tag is not being stripped out on the AMP version of the page, hence the validation fails.
Any ideas?
Thank you!
Hi Ian,
Would it be possible to add another field to override the custom Tealium CDN field? We're hosting the files on our own CDN.
Do you accept pull requests?
Thanks
WordPress version 6.1.1
Active theme: Bright (version 1.0.1)
Current plugin: Tealium (version 2.1.15) PHP version 8.0.25
Error Details
=============
An error of type E_ERROR was caused in line 24 of the file /data/www/bright-carrosserie.be/www/wp-content/plugins/tealium/tealium.options.php. Error message: Uncaught TypeError: join(): Argument #2 ($array) must be of type ?array, string given in /data/www/bright-carrosserie.be/www/wp-content/plugins/tealium/tealium.optio
ns.php:24
Stack trace:
#0 /data/www/bright-carrosserie.be/www/wp-content/plugins/tealium/tealium.options.php(24): join()
#1 /data/www/bright-carrosserie.be/www/wp-content/plugins/tealium/tealium.options.php(85): tealiumFormatAsName()
#2 /data/www/bright-carrosserie.be/www/wp-content/plugins/tealium/tealium.options.php(261): tealiumGenerateBulkDataSourceList()
#3 /data/www/bright-carrosserie.be/www/wp-content/plugins/tealium/tealium.php(82): include('...')
#4 /data/www/bright-carrosserie.be/www/wp-includes/class-wp-hook.php(308): options_page_tealium()
#5 /data/www/bright-carrosserie.be/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#6 /data/www/bright-carrosserie.be/www/wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /data/www/bright-carrosserie.be/www/wp-admin/admin.php(259): do_action()
#8 /data/www/bright-carrosserie.be/www/wp-admin/options-general.php(10):
require_once('...')
#9 {main}
thrown
I am building a site on WordPress that is using Tealium. Would you be interested in code review?
Mainly a few ways to harden security and follow WordPress best practices.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.