Contact key attached to url is breaking a website page

When contact key is appended to our site’s blog url from clicking from an Infusionsoft email, for some reason content is removed from the page after loading.
(broken, removes top content after page load)


Blog (normal, displays full content)

Infusionsoft support couldn’t help - does anyone know what could be happening here and how to fix?

… looks like a script is misfiring when there is any parameter in the url that is unexpected. You can test by putting. ?param=true in the url and will see the same behavior as the contact key. This limits the issue to something on the site.

Upon inspecting, it looks like something called autoptimize is the culprit:

HI How did you Solve this problem ?