webmatch / wbmtagmanager Goto Github PK
View Code? Open in Web Editor NEWShopware 5 Plugin for Google Tag Manager integration and dataLayer configuration
Shopware 5 Plugin for Google Tag Manager integration and dataLayer configuration
Hi,
We experience the following issue in our shop (SW 5.6.6):
directory /custom/plugins/WbmTagManager/Resources/views/frontend/index/index.tpl' not allowed by security setting
This error only occurs when we use the CASH payment option. The user will get an HTTP 500 error when he is redirected to the finish page. This behaviour does not occur when using any other (external) payment option.
I cant figure out what the problem here is...
Thanks, Nathan
On my category pages I have 48 products.
When I push them all into the datalayer, the datalayer is cut off in the end and not showing other tags.
Is there a way to limit the loop of "$sArticles as $sArticle" somehow?
In case a customer pays with pre-payment, it does not recognize the events. In analytics, it looks like no purchase have been done, and the payment has been interrupted.
if you create a tag, which tracks personal data on cached pages, you will track wrong data.
detail page for example:
If you are the first customer, your personal data will be added to the tag. Because the page is cached, the tag with your data is also cached and will be served to all customers who load that page.
If the first customer is not logged in, the tag will track empty data for all page views.
Is there any chance to track dynamic data with this tag manager?
Hallo David,
ich hab dein Plugin etwas refaktoriert. Dabei habe ich mich gefragt wieso du nicht die ganze Arbeit im FilterRender Handler machst. Der Weg über den PostDispatch in den Variables Service als Zwischenspeicher kommt mir doch etwas umständlich vor. Oder gibt es irgendwas, was ich übersehen habe und wieso das Ganze so besser ist?!?
VG Arne
The Variable of the product selection:
[$sArticle] as $article is not working
The data layer shows no content in the product information.
shopware
Hi,
we're getting this problem a few times a day in our bug tracker via Sentry. It seems that under certain conditions, the impressions
field under dataLayer.ecommerce
is undefined for some users so the call to find()
in jquery.product-click-tracking.js
throws this error. I have not been able to reliably reproduce this, except when I manually delete it from the data layer, so I can't really say what the users are doing exactly to trigger it.
We're running SW 5.6.7.
Seit ser neuesten Version ist der Matomo TagManager offiziell "fertig"
Ist von eurer Seite angedacht den WbmTagManager zu erweitern für Matomo?
maybe an option or textfield in plugin configs to add some code before and or after the Resources/tags/head.html would be a nice to have.
also between the datalayer and tagmanager snippet
For example to add and setup Google Optimize Code as mentioned here: https://support.google.com/optimize/answer/7359264
with the optimal method
could also be done with shopware events to extend the WbmTagManager plugin with own plugins
Wäre es bei den Plugin auch möglich die Anpassung wie die beim SW6 Plugin möglich um den Matomo Tag Manager nutzen zu können?
hey,
Are you going to support shopware 6? if yes, what is your timeline for that release?
For what reason you recommend to use the Trigger "DOM ready" in your configuration sheet, why not use "Pageview"
Hi guys!
After upgrading Shopware to version 5.2.25 and Tag Manager to version 2.0.0 my shop frontend throws an exit error on all category listings and product pages.
The error says "Modifier 'substr' not allowed by security setting".
The Smarty modifier gets introduced in lines with "currencyCode" in the file Resources/sql/install.sql.
I've deactivated the plugin and my shop is running again. Is there a way to fix the error without loosing security? Maybe by adding substr to the array of allowed modifiers?
http://www.smarty.net/docs/en/advanced.features.tpl
Best,
Stefan
It should be able to add the google_tag_params to use the complete remarketing adwords tags too.
More information can be found here:
https://developers.google.com/adwords-remarketing-tag/parameters
Maybe there must be a own special variable for the dataLayer configuration in the backend to get
the listing of the product ids in product list view.
Thanks and best,
Chris
The only enhanced ecommerce value i am currently missing in my analytics report is the performancy by product category.
Is it possible to get the only/default/first category for each product in the checkout event?
I've tried using dbquery, but couldn't find the relation between the article id and the s_categories table.
Whatever purchase is done, no currency value gets taken over by google analytics.
Overall: Even with purchases done, google analytics reflects: that 100% of the customers are "leaving" the shop before purchase is done. Further: no currency value is tracked in any stage of the shopping process
Please add github topics like shopware-plugin :)
Can you please tell the event name or include this into this plugin. We installed it on www.akw-fitness.de and don´t find a way to import the conversions to Google Ads directly.
Would like to have a possibility to add specific IP addresses via config to exclude internal traffic. I will try to add this feature by my own. It would be great to get contributer permissions for that.
8.1
5.7.16
No error 500.
Some categories were throwing a error 500 when using WbmTagManger is active.
We were able to trace it back to leftover line breaks \n
in product titles. (For your information, the products were imported via an importer from a CSV file provided by the customer).
The error occurred at the following location:
(Yes, actually you should avoid the error beforehand by cleaning the data during import - but double is better).
Put some \n
s into product title
according to this
https://gist.github.com/simondahla/3299703295771ba69a8761892a6e01b2
maybe moving code after meta charset?
Hi There,
it would be very helpful, if you can integrate the GA4 Datalayer Migration directly in the Plugin. More Information about the migration you can find here: https://support.google.com/analytics/answer/10119380?hl=de
Thanks!
After installing, activating, clearing caches and rebuilding the theme the smarty {debug} control does not work anymore. Adding {debug} to a block in frontend/index/index.tpl leads to:
\n
Just a newline, apart from a blank page. Inserting {debug} to a block deeper inside just renders a blank page.
Removed wbm and {debug} works as usual.
Since the Shopware update to version 5.6.x, deleting an item from the shopping cart no longer causes a DataLayer push. The reason for this is a redirect after deletion, which was introduced after the update to 5.6.0.
The following entry in the UPRADE-5.6.md was found:
- Changed the following cart actions to redirect the request to allow customers to press reload:
Shopware_Controllers_Frontend_Checkout::addArticleAction
Shopware_Controllers_Frontend_Checkout::addAccessoriesAction
Shopware_Controllers_Frontend_Checkout::deleteArticleAction
hi @dneustadt,
thanks for this very helpful plugin. Nevertheless I do not get the datalayer filled with information regarding the add to cart event (on the product detail page).
Only two variables work: quantity and id. everything else is not filled out.
I tried this config:
Any hint would be appreciated..
thanks in advance!
Hello,
the plugin is not yet compatible with the current Shopware version 5.7.x. Is an update planned?
Many greetings Armin
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.