Repro App
How to edit by applying templates
This page shows you how to customize messages by applying the HTML (Webview) template for in-app messages.
Customization method
Make the whole campaign rounded corners
Change the font size of the button.
Eliminate the top right button
Setting a GIF animation for the image
Set two or more buttons
Select the template with thebutton- Pre-populate fields that can be filled in with a standard campaign type
- Change from standard to custom
- Copy and paste the repro--btn class code in the repro--dialog--btn-container class in the "HTML" tab
- The href element in the pasted code will be the deeplink destination, so change it to the deeplink destination you want to transition to
- Change the button wording in the pasted code
Cautions
- The CV event of the button press is not measured as a CV event when the button added by the above code is pressed.
If you want to exclude a specific button, please change the data-repro--secondary-btn to data-repro--close attribute.
If you want to add a measurement for a specific button:
add data-repro--primary-btn data-repro--primary-cta-event or data-repro--secondary-btn data-repro to the class of the target button. --Add the secondary-cta-event. - A button with no attributes ofdata-repro--primary-btn, data-repro--secondary-btn, or data-repro--close is called If there is, please note that tapping that button will not make the in-app disappear.
Make the button a rounded corner
- Select the template with the button
- Pre-populate items that can be entered with the campaign type as standard</span li>
- Change from standard to custom
- Add the following line to .repro--btn {} in theCSS tab and adjust the px
The larger the number of pixels, the more rounded the corners of the button will be
CSS
1 | border-radius: 10px; |
Make the entire campaign rounded corners
- Select a dialog type template
- Pre-populate fields that can be filled in with a standard campaign type
- Change from standard to custom
- In "CSS" tab .repro--dialog--container {}, add the following line and adjust the px
The larger the number of pixels, the more rounded the corners of the button will be
CSS
1 | border-radius: 30px ; |
Change the font size of the button
Select the template with thebutton- Pre-populate fields that can be filled in with a standard campaign type
- Change from standard to custom
- Change font-size to an arbitrary number in .repro--btn text {} in the CSS tab
Cautions
- repro--btn--text exists in two places.
/* Button ======== */ is for the font size when displayed on a tablet or PC, and /* SP ====== */ is for the font size when displayed on a smartphone. - If the text is too large, the design may be broken. Be sure to test the delivery on a real device.
Eliminate the top right button
- Select a dialog type template
- Pre-populate fields that can be filled in with a standard campaign type
- Change from standard to custom
- Delete the following section in the "HTML" tab
1 2 3 4 5 | <div class="repro--close-btn" style ="background-color:rgba(0,0,0,1.0);border-color:rgba(255,255,255,1.0);" data-repro--close><span></span> <div style="background-color:rgba(255,255,255,255,1.0);"><&span></span> <div style="background-color:rgba(255,255,255,255,1.0);"></div><span></span> </div><span></span> </div> |
Set up a GIF animation for the image
- Select a template with images
- Pre-populate fields that can be filled in with a standard campaign type
- Change from standard to custom
- Uploading images in GIF format from "Add Image" at the bottom of the "HTML" tab