Informatie voor developers:
Populaire zoektermen: Meetpixel, API, Google Analytics, Sikekick widget, Custom templates
Populaire zoektermen: Meetpixel, API, Google Analytics, Sikekick widget, Custom templates
Meetpixeldocumentatie
Let op! in het kader van de AVG-wetgeving is met het plaatsen van een meetpixel ook een cookiemelding op de website verplicht.
De Moving Digital MD pixel container snippet is een klein stukje JavaScript dat je op de pagina’s van een website plaatst, zodat Moving Digital de MD pixel kan inladen op de pagina. De MD pixel container moet op alle pagina’s van de website worden geïmplementeerd (1.) met daarbij een toegevoegde snippet op de ‘listing pages’, oftewel objectpagina’s (aanbodpagina’s) (2.).
Kopieer voor het implementeren van de MD pixel container de onderstaande code snippet (Google Tag Manager) en plak deze snippet op de website ‘template page’, zodat deze direct na de opening tag verschijnt.
<!-- MD pixel --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-PX4GN2');</script> <!-- End MD pixel -->
Om maximale flexibiliteit, portability en gemak van de implementatie te garanderen: de MD pixel functioneert het meest optimaal wanneer deze naast de data layer is ‘ingezet’. Een ‘data layer’ is een object dat alle informatie bevat die naar de pixel kan/moet worden doorgezet. Informatie zoals de objectIdentifier kan via deze data layer naar de MD pixel worden doorgezet. Implementeer deze code ALTIJD boven de MD pixel snippet!
<script>
dataLayer = [{
'objectIdentifier': 'XXXXXX',
'objectZipcode': 'XXXXXX'
}];
</script>
<!-- MD pixel -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-PX4GN2');</script>
<!-- End MD pixel -->
Belangrijk
Wanneer de MD pixel container snippet tussen de tag en de dataLayer array ruimte, zal de verificatie van de container snippet mislukken en kan de MD pixel de variabelen (gedefinieerd in de ‘array’) niet lezen.
NB: De variabele “XXXXXX” is slechts een voorbeeld; je moet deze variabele aanpassen naar de objectidentifier en postcode die op de specifieke pagina op de website wordt gebruikt.
Daarbij gelden verschillende vereisten:
Postcode (zipcode) vereisten: 4 cijfers gevolgd door 2 hoofdletters, zonder spatie daartussen. ObjectIdentifier: Dit is het specifieke object ID van betreffende woning van de objectpagina.
Als voorbeeld: wanneer de makelaar een Realworks CRM-systeem gebruikt, bestaat het object ID normaliter uit 2 letters en 5-6 cijfers (vb.: HN13227). Bij een Venum/Kolibri CRM bestaat het object ID normaliter alleen uit cijfers. Het object ID komt in elk geval op de plaats van “XXXXXX”.
Realworks meetpixeldocumentatie
The Facebook pixel container snippet is a small piece of JavaScript that you paste into some pages on your website. The Facebook pixel container needs to be implemented on all the seperate object pages of the website.
To implement the Facebook pixel container, copy the code snippet provided from below. Paste this snippet into your website template page just before the tag. Replace the example variables (content_category, content_name, content_ids, etc) with actual content from the listing. In this case, a ‘content_ids’ needs to be the Realworks object ID, which usually consists of 2 letters and 5-6 digits. Example: AW12345. If the value does not specifically exists, for example if the object pricing is “on request”, then no value needs to be given for that specific object.
<!-- Facebook Pixel Code --> <script> !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue= [];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)} (window, document,'script','https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '437915379934515'); fbq('track', 'PageView'); fbq('track', 'ViewContent', { content_type: 'product', content_category: 'Listing > Sale', //'or rent' content_name: '%listing.formattedAddress%', //e.g. Burgwal 8b, 2611GJ Delft, Zuid-Holland content_ids: ['%listing.uuid%'], //format as string or string[], e.g 3664920 or ZR11191 value: '%listing.value%', //listing value, e.g. 570000 currency: 'EUR' }); </script> <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=437915379934515&ev=PageView&noscript=1" /></noscript> <!-- End Facebook Pixel Code -->
Publishing the soft side of your listing page using our API
On our platform, users and their friends add the “soft side” of the house. They can add or endorse unique features, share stories and anecdotes, pinpoint interesting spots on a map and share photos and videos. Using our API, you can publish this content on your listing page. This way, Google will index this content like it is your own. You will only receive data, no mark-up. You can publish the content exactly like you want it to.
To call our API, you would need a API key. We have keys available for agents (apikey), agent groups (apikey-group) and software suppliers/developers (apikey-partner).
Do you have an login?
If you have a login for our platform, you can get your API key by logging in and clicking on the settings icon and choosing “couplings”. Look for “Website” and click “Edit”. Select the option “Yes, give me an API key” and save it. Your API key is active and will be shown. The key usually consist of numbers and letters in random order, like: 99999999-9999-9999-9999-999999999999
Getting an API key without login
If you don’t have a login (yet), but you want to call our API, please contact service@moving.digital.
Technical documentation of the API calls can be found here:
https://app.diorama.nl/api/public/doc/viral
To get content out of our API, you would need a valid API key. The API key needs to be send in the header of the request. For testing, we recommend using a program like “Postman”.
The API can be called using GET on the following link:
https://app.diorama.nl/api/public/v1.4/[VARIANT]/?type=[TYPE]&id=[ID]&dateSince=[DATESINCE]
In this example, there are variables in between [HOOKS] that need to be filled in:
The API has different variants that you can call to get certain content. All of the variants have paging (100 objects per page) enabled. The following variants are available to call:
viral
viral-detail
anecdote
facility
feature
media
* Types of users available are:
** These are all the categories for facilities:
Based on the way object information is inserted in Placert, you will get to use a specific type. This is our reference to the import source. If the information was imported through an external system (for example: CRM system, XML, API) we use the name of your system as type.
For example, we import object information from a system called Realworks, the type is “realworks”. If the information was added manually we use the type “helpmee”.
The Uuid of the object. Based on the type, we can define which unique id we can use to fetch information. Whenever we import object data, we will save the import id, so that we can always have matching ID’s. This way, you can always user your own system identifier to call our service.
If the type is “helpmee”, you can find the id in the agent dashboard: Log in and select a single object to view details. You will find the id in the section “Object information”.
This variable is optional. You can use the dateSince to define a date (datetime) to filter the information.
https://app.diorama.nl/api/public/v1.4/facility/?type=helpmee&id=5bc36089-560b-4890-b47f-0f3a09837f86&dateSince=2015-03-01 11:30:00
https://app.diorama.nl/api/public/v1.4/facility/?type=realworks&id=123456&dateSince=2015-03-01 11:30:00
<!--?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,”https://app.diorama.nl/api/public/v1.4/facility/?type=helpmee&id=34a6e937-b90b-4754-acd2-b6c65c02a328&dateSince=2015-03-01 11:30:00?); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $headers = array(); $headers[] = ‘apikey: 7011167D-B234-4AA5-A619-5FBA454B4B85’; curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); $data = curl_exec ($ch); curl_close ($ch); echo $data; -->
It is possible to receive a callback from our system, whenever content is added or changed. We can send a JSON POST request to an url of your choice. The information we send
{ "our-object-id": "", "import-object-id": "", "import-source": "", "type": "" }
our-object-id – This is our own object identifier, which we can match in our system
import-object-id – This will be your own unique object id, to match in your system
import-source – This is our reference to the import source, usually your company name
type – This is the type of call, we currently have 3 types:
Do you have any questions, errors or were you just expecting more? 🙂
We are always happy to help! Please share your thoughts and questions: service@moving.digital
For agents: a list of all agent calls (documentation)
Do you have any questions, errors or were you just expecting more? We are always happy to help! Please share your thoughts and questions: service@moving.digital
Format for agent input Diorama
There are multiple ways to get data into HelpMee. We can connect directly to your CRM system or an API you already made available (most of our suppliers work with an API / XML format). We have no preference, because we will map all objects internally. We map different flavours of XML or SOAP to this format into our object structure. The most common variant we get is 1 XML file that contains all offices and agents.
Please show us your existing format (XML file) or API and we will check this.
But for other cases, we have got information regarding the fields:
Required:
Optional
Do you have any questions, errors or were you just expecting more? We are always happy to help! Please share your thoughts and questions: service@moving.digital
Format for data/listing input Diorama
There are multiple ways to get data into HelpMee. We can connect directly to your CRM system or an API you already made available (most of our suppliers work with an API / XML format). We have no preference, because we will map all objects internally. We map different flavours of XML or SOAP to this format into our object structure. That is why we ask specific information, for example: first name or country code.
Please show us your existing format or API and we will check this. But for other cases, we have got an example file (please email us: service@moving.digital) and extra information regarding the fields:
Example of fields:
Business rules
Do you have any questions, errors or were you just expecting more? We are always happy to help! Please share your thoughts and questions: service@moving.digital
V2 directe URL
Onze Sitekick tool is vernieuwd, dus ook de directe Sitekick URL is gewijzigd! Je kunt de nieuwe Sitekick URL verkrijgen, door simpelweg jouw homepage te gebruiken en /?sitekick daaraan toe te voegen. Deze URL kan dan worden gebruikt in bijvoorbeeld Facebook advertenties.
Stel: jouw makelaarskantoor heet ‘Uw Makelaardij’ met homepage www.uwmakelaardij.nl
Dan moet de Sitekick URL er als volgt uitzien:
www.uwmakelaardij.nl/?sitekick
Houd er rekening mee, dat wanneer jouw website reeds een ‘?’ in de homepage bevat, de Sitekick URL nét even anders wordt. In plaats van /?sitekick komt er dan &sitekick achter de homepage te staan.
Stel: jouw makelaarskantoor heet ‘Uw Makelaar’ met homepage www.uwmakelaar.nl/?home
Dan moet de Sitekick URL er als volgt uitzien:
www.uwmakelaar.nl/?home&sitekick
Meer dan 1.500 makelaars halen voordeel uit onze oplossingen. Jij ook?