Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have an interactive map in a block on a page. When I use a Google URL for the page (which was going into a campaign email) e.g. http://www.newcollege.ac.uk/content/finding-us?utm_source=example&utm_medium=example&utm_content=example&utm_campaign=example
, the map doesn't render at all. The same happens for other query strings such as https://www.newcollege.ac.uk/content/finding-us?dm_t=0,0,0,0,0
If I remove the query string the map works.
Does anyone have any ideas?
Comments
Comment #1
rupertj CreditAttribution: rupertj commentedThat's pretty weird. It doesn't happen to me on a stock install of Drupal with the current locationmap code, so it's either something in your site that's causing it, or it's something that's been fixed in locationmap recently.
If you compare the source of the page on your site with and without a get param, you can see
in one but not the other, which is what's causing the map to not appear. Adding this script isn't wrapped in any sort of condition in the locationmap code though, so my best guess would be that something in your site's theme or other modules is altering the js and removing it.
Comment #2
John Franklin CreditAttribution: John Franklin commentedI can't reproduce this, either. If this is still an issue, please reopen.