Search affected by Google Tag Manger code - responsive Webhelp output
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 10
- Joined: Mon Oct 21, 2019 7:06 pm
Search affected by Google Tag Manger code - responsive Webhelp output
Hi there,
I've added Google Tag Manager code to my responsive webhelp output via transform parameters. I'm able to add the code just fine and it runs in the background of my output, but it also seems to disable the search on my output--when I try to search for anything, the results are blank, and when I inspect the code I see that the div class="fakeResult" and "fakeText".
I'm attaching screenshots of:
1) The parameters I have set referencing the GTM code;
2) How the search looks after I add the GTM code; and
3) What I see when I inspect the search code.
Have you seen this before? Any thoughts on what I'm doing wrong? Happy to provide more info if it would be helpful.
Thank you,
Claire
I've added Google Tag Manager code to my responsive webhelp output via transform parameters. I'm able to add the code just fine and it runs in the background of my output, but it also seems to disable the search on my output--when I try to search for anything, the results are blank, and when I inspect the code I see that the div class="fakeResult" and "fakeText".
I'm attaching screenshots of:
1) The parameters I have set referencing the GTM code;
2) How the search looks after I add the GTM code; and
3) What I see when I inspect the search code.
Have you seen this before? Any thoughts on what I'm doing wrong? Happy to provide more info if it would be helpful.
Thank you,
Claire
parameters.png
search-front-end.png
search-back-end.png
You do not have the required permissions to view the files attached to this post.
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Search affected by Google Tag Manger code - responsive Webhelp output
Post by radu_pisoi »
Hi,
Do you encounter the same issue if you remove the Google Tag Manager code? You can easily to this by duplicating the transformation scenario and remove the webhelp.fragment parameters.
When Google Tag Manager code is enabled, could you tell us if there is any message in the browser's console (F12 to debug).
No, we have not encountered this problem yet.
Do you encounter the same issue if you remove the Google Tag Manager code? You can easily to this by duplicating the transformation scenario and remove the webhelp.fragment parameters.
When Google Tag Manager code is enabled, could you tell us if there is any message in the browser's console (F12 to debug).
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 10
- Joined: Mon Oct 21, 2019 7:06 pm
Re: Search affected by Google Tag Manger code - responsive Webhelp output
Hi there,
The issue goes away if I duplicate the transform and remove the Google Tag Manager code.
After debugging, I see that I do have multiple errors--attaching a screenshot of them here. The lines of code they refer to are the GTM code lines. These errors appear before I even perform a search, so it seems like the issue might be with the GTM code.
Let me know if you have any insight into what these errors indicat
Thank you,
Claire
The issue goes away if I duplicate the transform and remove the Google Tag Manager code.
After debugging, I see that I do have multiple errors--attaching a screenshot of them here. The lines of code they refer to are the GTM code lines. These errors appear before I even perform a search, so it seems like the issue might be with the GTM code.
Let me know if you have any insight into what these errors indicat
GTMdebugerror.PNG
e!Thank you,
Claire
You do not have the required permissions to view the files attached to this post.
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service