I've just started using Tag Manager combined with Schema JSON-LD for the first time. I am attempting to use Custom HTML but have hit a brick wall when attempting to assign Custom HTML to a URL based on Page View.
I'm using the following custom html:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "ProfessionalService",
"additionalType": "http://www.productontology.org/id/Web_design",
"name": "BYBE",
"description": "The Web Design Company",
"telephone": "01202 949749",
"address": {
"@type": "PostalAddress",
"streetAddress": "Flat 11, East Cliff Grange, 35 Knyveton Road",
"addressLocality": "Bournemouth",
"addressRegion": "Dorset",
"postalCode":"BH1 3QJ"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": "50.73744",
"longitude": "-1.8495269"
}
}
</script>
Which I can confirm works when testing it with Google's Rich Snippet Testing Tool:
This works fine with:
- Tag Type
Custom HTML
- Trigger Type
All Pages Page View
- Trigger Type
However it does not work with any of the following configurations:
- Tag Type
Custom HTML
- Trigger Type
Page View
>The trigger fires on:
Page URL
>equals
>bybe.net/about
Page URL
>equals
>bybe.net/about/
Page URL
>equals
>www.bybe.net/about
Page URL
>equals
>www.bybe.net/about/
- Trigger Type
As you can see from above I have tried plenty of different URL types and its not clear what Google is expecting, Googles own examples does not use HTTP
HTTPS
or with WWW
so I'm not sure why this is not working, hopefully someone can assist pointing me in the right direction!