Installing Magento2 extension

Created by Mikkel Rosener, Modified on Mon, 2 Sep at 2:26 PM by Marcin at Reaktion

This guide serves the purpose of showing you / your development team how to install Reaktion's Magento2 extension.

Please note you can click the images below to view them in higher resolutions. 


Step 1: Tracking plugin installation



  1. Download Reaktion Magento2 plugin:  https://advertiser.reaktion.com/app/shared/integrations/provider/magento2/plugin-modal/assets/reaktion-magento2-plugin-v1.4.zip

  2. Decompress the contents of the “reaktion-magento-plugin-v1.0.zip” file.

  3. Connect to the Magento2 server using any FTP client (FileZilla etc).

  4. Create the following directory under Magento2 root directory: app/code/Reaktion/Tracking.

  5. Upload the contents of the “reaktion-magento-plugin-v1.0.zip” file into app/code/Reaktion/Tracking directory.

  6. Connect to the Magento2 server using any SSH client (Putty, etc).

  7. Execute the following commands:

        php bin/magento setup:upgrade

        php bin/magento setup:di:compile

        php bin/magento setup:static-content:deploy -f


Please also add  *.reaktion.com entry into connect-src and script-src Content Security Policy sections. 


Reference: Magento support: Content Security Policies - Add a domain to whitelist




Step 2: Access token generation


In order to to use "access token" auth in magento you should set the following in magento:


Stores > Configuration > Services > OAuth > Consumer Settings > Allow OAuth Access Tokens to be used as standalone Bearer tokens






In the left menu bar, click the “System” menu entry and then “Integrations” link.





Step 3:
Click the “Add New Integration” button. (image is clickable for larger preview)




Step 4:
Input “Reaktion.com integration” into the Name field and navigate to the “API” section of the settings. (image is clickable for larger preview)





Step 5:


Check:

  • Sales
  • Catalog
  • Customers
  • Stores -> Settings -> All Stores
  • Stores -> Settings -> Configuration -> Reaktion Tracking
  • Stores -> Attributes -> Product
  • Stores -> Attributes -> Attribute Set


and then click on “Save” button.



Important: Make sure all permissions are given, otherwise the integration will fail when trying to connect your Magento 2 store to Reaktion.


(image is clickable for larger preview)





Step 6:
Click the “Activate” link next to the newly created  “Reaktion.com integration” integration.





Step 7:
Click the “Allow” button. (image is clickable for larger preview)





Step 8:
Copy the “Access Token” and then click the “Done” button.




Step 9:
You can always see the access token by clicking the “Edit” icon next to the “Reaktion.com integration” integration.





Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article