# HTML-code (java) in blogpage

**URL:** <https://forums.realmacsoftware.com/t/html-code-java-in-blogpage/5148>\
**Category:** RapidWeaver Classic\
**Created:** [January 28, 2016, 10:45am UTC](https://forums.realmacsoftware.com/t/html-code-java-in-blogpage/5148 "2016-01-28T10:45:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![digipeet](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/digipeet/32/2358_2.png) [@digipeet](https://forums.realmacsoftware.com/u/digipeet)\
**Post date:** [January 28, 2016, 10:45am UTC](https://forums.realmacsoftware.com/t/html-code-java-in-blogpage/5148/1 "2016-01-28T10:45:01Z")

</div>

Hello! I would appreciate your help with the next:

On my blogpage (which is the home-page and also a part of a website with more pages) I would like to integrate Google’s search-engine. The code Google uses is Javascript.  
I tried:

- the code in the sidebar
- the code in the Javascript part of the header
- the code in a blogpost  
but the search-engine does not show on the blog page after publishing.

The websites address is [http://buurtherinneringen.nl](http://buurtherinneringen.nl)

Thanks!  
Peter

---

<div class="post-metadata">

**Author:** ![peterdanckwerts](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/peterdanckwerts/32/22443_2.png) [@peterdanckwerts](https://forums.realmacsoftware.com/u/peterdanckwerts)\
**Post date:** [January 28, 2016, 4:33pm UTC](https://forums.realmacsoftware.com/t/html-code-java-in-blogpage/5148/2 "2016-01-28T16:33:26Z")

</div>

If you look in the error console, it says, '[Error] Failed to load resource: the server responded with a status of 404 (Not Found) [http://www.googletagmanager.com/gtm.js?id=GTM-WT54C4](http://www.googletagmanager.com/gtm.js?id=GTM-WT54C4)

The URL is clearly wrong

---

<div class="post-metadata">

**Author:** ![digipeet](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/digipeet/32/2358_2.png) [@digipeet](https://forums.realmacsoftware.com/u/digipeet)\
**Post date:** [January 28, 2016, 5:24pm UTC](https://forums.realmacsoftware.com/t/html-code-java-in-blogpage/5148/3 "2016-01-28T17:24:10Z")

</div>

Dear Peter,

Thanks for your answer but it does not solve the problem, the googletagmanager is a code used for an other target.  
To be sure it did not conflict with the code of Google’s search-engine, I removed the googletagmanager-code and tried to place the searchengine-code again. No result.

Now I made a STACKS-page with an HTML-stack with the searchengine-code: [http://buurtherinneringen.nl/page37/](http://buurtherinneringen.nl/page37/), it works like a charm!

But… I want that code on my start/homepage.

I hope I made clear what the problem is and hope somebody can help me out.

Cheers!  
Peter
